package entity;

import java.io.Serializable;

/**
 * Description：客户类
 * Copyright (c), 2024, lbs
 * This program is protected by copyright laws.
 * Date： 2024年09月26日
 *
 * @author 刘宝顺
 * @version : 1.0
 **/
public class Customer  implements  Serializable {
    /**
     * 客户的标识（如：身份证号码，或是手机号）
     */
    private int id;


    /**
     * 姓名
     */
    private String name;

    /**
     * 地址
     */
    private String address;


    public Customer() {
    }

    /**
     * 构造方法
     *
     * @param id      顾客的唯一标识
     * @param name    姓名
     * @param address 地址
     */
    public Customer(int id, String name, String address) {
        this.id = id;
        this.name = name;
        this.address = address;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
